package com.js.lottery.domin.activity.service.partake;

import com.js.lottery.common.Result;
import com.js.lottery.domin.activity.model.req.PartakeReq;
import com.js.lottery.domin.activity.model.resp.PartakeResult;
import com.js.lottery.domin.activity.model.vo.DrawOrderVO;

/**
 * @description: 抽奖活动"参与"接口 toC 用户领取活动
 * @author:Pine Jiang
 * @Date:2023/11/22
 **/


public interface IActivityPartake {
    /**
     * 参与活动
     * @param req 入参
     * @return    领取结果
     */
    PartakeResult doPartake(PartakeReq req);

    /**
     * 保存奖品单
     * @param drawOrder 奖品单
     * @return          保存结果
     */
    Result recordDrawOrder(DrawOrderVO drawOrder);
}
